home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / LINUX / README < prev   
Encoding:
Text File  |  1998-08-12  |  2.3 KB  |  80 lines

  1.       Files For Making a Mesa/GLUT System For Linux ELF
  2.  
  3.                 Version 0.0.6
  4.  
  5.                Peter F. Martone
  6.                updated by Mark Kilgard (for GLUT 3.7)
  7.  
  8. //************************************************************
  9.  
  10. There are three files included in this archive:
  11.  
  12.     Glut.cf -- file required by imake-- use this to replace the
  13.       stock version that came with GLUT.
  14.  
  15.     Makefile -- Makefile required to build ELF library,  belongs in
  16.       the $GLUT_HOME/lib/glut/. directory.
  17.  
  18.     path -- the line required for ld.so to find the libraries at
  19.       run-time.  Add this to your .profile file.
  20.  
  21. //************************************************************
  22.  
  23. The steps to make this work are:
  24.  
  25.      1) Change into $GLUT_HOME/. and make a backup copy of the
  26.     Glut.cf file. Then, take the copy from this archive and move it
  27.     into $GLUT_HOME.
  28.  
  29.      2) Run the script to build all the makefiles:
  30.  
  31.       ./mkmkfiles.imake
  32.  
  33.      3) Change into $GLUT_HOME/lib/glut/. and make a backup copy of
  34.     the Makefile.  Now, take the Makefile out of the archive and
  35.     replace the old one.
  36.  
  37.      4) WHILE STILL IN THE $GLUT_HOME/lib/glut/. DIRECTOR, RUN:
  38.  
  39.       make
  40.     
  41.     This should build the shared library 'libglut.so.3.7'.
  42.  
  43.     IF YOU HAVE PROBLEMS WITH HEADER FILE DEPENDENCIES, try
  44.     doing:
  45.  
  46.       make depend
  47.       make
  48.  
  49.     This should rebuild the Makefile dependencies.
  50.  
  51.     If this does not work, remove all the lines in "Makefile" below
  52.     the line saying "DO NOT DELETE" (yes, disregard what the line
  53.     says).  Then try "make depend; make"
  54.  
  55.      5) Make two symbolic links:
  56.  
  57.       ln -s libglut.so.3.7 libglut.so.3
  58.       ln -s libglut.so.3.7 libglut.so
  59.  
  60.      6) Now, back up to $GLUT_HOME/. and:
  61.  
  62.       make
  63.  
  64.     This will make all the example programs.
  65.  
  66.      7) Add the line from archive file 'path' to your .profile, or
  67.     better to your systemwide (/etc/profile).  Then logout out and
  68.     back in again (to refresh your path.)
  69.  
  70.     After this, your system should be working fine.  If you are
  71.     having any problems with these files, or you have any comments,
  72.     please contact me at pmarton@bgnet.bgsu.edu.  I've only tried
  73.     this on a Slackware 3.0 (heavily modified) Linux PC, so
  74.     different distributions may behave differently.
  75.  
  76.     Good luck, and <SOAPBOX> thank you Brian Paul, Mark Kilgard,
  77.     Linus Torvalds and everybody else that fits for giving college
  78.     students on a budget a decent learning enviornment.</SOAPBOX>
  79.  
  80.